home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 31
/
Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso
/
Aminet
/
comm
/
bbs
/
cnet5demo.lha
/
cnet
/
ircrexx
/
status_scroll.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1999-03-23
|
477b
|
29 lines
/* BBS status scroll.. you must have the scroll.rexx in this dir */
c=0
options results
parse arg orcport .
orcport=trim(orcport)
tr=transmit;gs=getscratch
TOP:
who=''
address CNETREXX0
do scan=1 to 20
if ~show('P',orcport) then EXIT
getportid scan;pid=result
if pid>0 then do
c=c+1
loadscratch pid
savescratch (-pid)
gs 1;who = result' 'who
end
end
address command 'rx cnet:ircrexx/scroll.rexx 'orcport' There are 'c' users online:' who
delay(500)
call TOP